package com.tupu.service.permission;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tupu.entity.permission.RoleInfo;

import java.util.List;

public interface RoleService {
    void delRole(List<Integer> role_id);

    List<RoleInfo> findAll();

    Page<RoleInfo> PageInfo(Integer page, Integer size, String name);

    RoleInfo findById(Integer role_id);

    Integer updateRole(RoleInfo role);

    Integer addRole(RoleInfo role);
}
